<section class="panel">
<header class="panel-heading">Country BASIC DATA </header>
                          <div class="panel-body">
                          <?php echo $this->Form->create('Country'); ?>
                        

							 <div class="form-group">
                                     <div class="col-lg-12">
                                          <div class="row">
                                              <div class="col-lg-3">
											   <?php   echo $this->Form->input('id'); ?>
                                                  <?php  echo $this->Form->input('country_name',array('class'=>'form-control')); ?>
                                              </div>
                                            <div class="col-lg-3" style="margin-top: 20px;">
                                                 <?php echo $this->Form->input('Submit',array('type'=>'submit', 'class'=>'btn btn-info','label'=>false)); ?>
                                              </div>
											  
                                          </div>

                                      </div>
									
									  
									  
								</div>			

                              
                          </div>
                      </section>									  

<?php echo $this->Form->end(); ?>








<section class="panel">
<div class="countries index">
	
	<table cellpadding="0" cellspacing="0" class="table table-striped border-top dataTable">
	<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('country_name'); ?></th>
			<th><?php echo $this->Paginator->sort('abbrev'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($countries as $country): ?>
	<tr>
		<td><?php echo h($country['Country']['id']); ?>&nbsp;</td>
		<td><?php echo h($country['Country']['country_name']); ?>&nbsp;</td>
		<td><?php echo h($country['Country']['abbrev']); ?>&nbsp;</td>
		<td class="actions">
			
			<?php echo $this->Html->link(__('Edit'), array('action' => 'index', $country['Country']['id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $country['Country']['id']), null, __('Are you sure you want to delete # %s?', $country['Country']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>

</section>